package com.hpeng.sys.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "SYS_USER_MST")
public class SysUser {
	private String userCode;
	private String userName;
	private String password;
	private String deptCode;
	private String templateCode;
	private Date lastLogin;
	private Date lastChgPwd;
	private String mustChgPwd;
	private Long seq;
	private String status;
	private String staid;

	@Id
	@Column(name = "USER_CODE")
	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	@Column(name = "USER_NAME")
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Column(name = "PASSWORD")
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Column(name = "DEPT_CODE")
	public String getDeptCode() {
		return deptCode;
	}

	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}

	@Column(name = "TEMPLATE_CODE")
	public String getTemplateCode() {
		return templateCode;
	}

	public void setTemplateCode(String templateCode) {
		this.templateCode = templateCode;
	}

	@Column(name = "LAST_LOGIN")
	public Date getLastLogin() {
		return lastLogin;
	}

	public void setLastLogin(Date lastLogin) {
		this.lastLogin = lastLogin;
	}

	@Column(name = "LAST_CHG_PASSWD")
	public Date getLastChgPwd() {
		return lastChgPwd;
	}

	public void setLastChgPwd(Date lastChgPwd) {
		this.lastChgPwd = lastChgPwd;
	}

	@Column(name = "MUST_CHG_PASSWD")
	public String getMustChgPwd() {
		return mustChgPwd;
	}

	public void setMustChgPwd(String mustChgPwd) {
		this.mustChgPwd = mustChgPwd;
	}

	@Column(name = "SEQ")
	public Long getSeq() {
		return seq;
	}

	public void setSeq(Long seq) {
		this.seq = seq;
	}

	@Column(name = "STATUS")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public void setStaid(String staid) {
		this.staid = staid;
	}

	public String getStaid() {
		return staid;
	}

}